package com.liuqi.business.mapper;

import com.liuqi.base.BaseMapper;
import com.liuqi.business.model.MiningBonusPoolConfigModel;
import com.liuqi.business.model.MiningBonusPoolConfigModelDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MiningBonusPoolConfigMapper extends BaseMapper<MiningBonusPoolConfigModel,MiningBonusPoolConfigModelDto>{


    /**
     * 查询用户数据
     * @param userId
     * @param status 0 前一天，1 当天
     * @return
     */
    List<MiningBonusPoolConfigModelDto> queryDayBeforeList(@Param("userId") long userId, @Param("status")int status);
}
